//
//  headerCell.h
//  HuiPinZhiJia
//
//  Created by MS on 16/9/2.
//  Copyright © 2016年 MS. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^BlockExit)();
typedef void(^BlockPersonal)();

@protocol headerCellDelegate<NSObject>
- (void)Jump:(UIButton *)button;
@end
@interface headerCell : UICollectionReusableView

@property (weak, nonatomic) IBOutlet UIButton *headBtn;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *integrationLabel;
@property (weak, nonatomic) IBOutlet UIButton *exitBtn;
@property (weak, nonatomic) IBOutlet UIButton *loginBtn;

@property (nonatomic,copy)BlockPersonal personal;
@property (nonatomic,copy) BlockExit button;
- (IBAction)exitBtn:(id)sender;
@property (nonatomic,assign)id<headerCellDelegate> delegate;//跳转代理

- (void)handlerPersonalAction:(BlockPersonal)block;

-(void)handlerButtonAction:(BlockExit)block;
- (IBAction)LoginBtn:(id)sender;
@end
